import request from '@/network/request';
//http://{{host}}/bufan/order/detailAction 默认提交地址 openId, addressId
function getDetailAction(data) {
  return request({
    url: '/order/detailAction',
    data
  })
}

// http://{{host}}/bufan/order/submitAction  post 商品总价allPrise 商品idgoodsId openId

function getSubmitAction(data) {
  return request({
    method: 'post',
    url: '/order/submitAction',
    data
  })
}

export {
  getDetailAction,
  getSubmitAction
}